package com.dkd.sbtz.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;


public class BindTypeChildrenRequest {
    @NotBlank(message = "parentType 不能为空")
    private String parentType;

    @NotNull(message = "childTypes 不能为空（可空数组表示清空）")
    private List<String> childTypes;

    public String getParentType() { return parentType; }
    public void setParentType(String parentType) { this.parentType = parentType; }

    public List<String> getChildTypes() { return childTypes; }
    public void setChildTypes(List<String> childTypes) { this.childTypes = childTypes; }
}
